package com.youmu.shop.product.vo;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "商品")
public class ProductVO {

	@ApiModelProperty(value = "id")
	private long id;
	    
	@ApiModelProperty(value = "商品名称")
	private String name;
	
	@ApiModelProperty(value = "英文名称")
	private String englishName;
	
	@ApiModelProperty(value = "商品图片")
	private String img;
	
	@ApiModelProperty(value = "商品价格(没有规格的商品使用该字段)")
	private double price;
	
	@ApiModelProperty(value = "商品规格")
	private String specification;
	
	@ApiModelProperty(value = "介绍")
	private String introduction;
	
	@ApiModelProperty(value = "原料")
	private String material;
	
	@ApiModelProperty(value = "蛋糕或常温（0:常温 ， 1:蛋糕）")
	private int isCake;
	
	@ApiModelProperty(value = "商品规格")
	private List<ProductSpecificationVO> productSpecifications;
	
	@ApiModelProperty(value = "配送时间")
	private String sendTimeIntro;

	@ApiModelProperty(value = "配送说明")
	private String sendIntro;
	
	@ApiModelProperty(value = "食用存储")
	private String foodStorage;

	@ApiModelProperty(value = "注意事项")
	private String announcement;
	
	@ApiModelProperty(value = "尺寸大小")
	private String size;
	
	@ApiModelProperty(value="商品单位")
	private String productUnit;
	
	@ApiModelProperty(value = "提前多久预定")
	private String notice;
	
	@ApiModelProperty(value = "商品对应的图片地址对象集合")
	private List<ProductImage> productImages = new ArrayList<ProductImage>();

	public List<ProductImage> getProductImages() {
		return productImages;
	}

	public void setProductImages(List<ProductImage> productImages) {
		this.productImages = productImages;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getSendTimeIntro() {
		return sendTimeIntro;
	}

	public void setSendTimeIntro(String sendTimeIntro) {
		this.sendTimeIntro = sendTimeIntro;
	}

	public String getSendIntro() {
		return sendIntro;
	}

	public void setSendIntro(String sendIntro) {
		this.sendIntro = sendIntro;
	}

	public String getFoodStorage() {
		return foodStorage;
	}

	public void setFoodStorage(String foodStorage) {
		this.foodStorage = foodStorage;
	}

	public String getAnnouncement() {
		return announcement;
	}

	public void setAnnouncement(String announcement) {
		this.announcement = announcement;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	
	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public int getIsCake() {
		return isCake;
	}

	public void setIsCake(int isCake) {
		this.isCake = isCake;
	}

	public List<ProductSpecificationVO> getProductSpecifications() {
		return productSpecifications;
	}

	public void setProductSpecifications(List<ProductSpecificationVO> productSpecifications) {
		this.productSpecifications = productSpecifications;
	}

        /**
         * Getter method for property <tt>productUnit</tt>.
         * 
         * @return property value of productUnit
         */
    public String getProductUnit() {
        return productUnit;
    }

        /**
         * Setter method for property <tt>productUnit</tt>.
         * 
         * @param productUnit value to be assigned to property productUnit
         */
    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

	
	
	
	
}